package com.sghj.record.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sghj.record.entity.RecordOutcall;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sghj.record.entity.dto.RecordOutcallQuery;
import com.sghj.record.entity.vo.RecordIncallRes;
import com.sghj.record.entity.vo.RecordOutcallRes;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhongkai
 * @since 2024-07-15
 */
public interface RecordOutcallMapper extends BaseMapper<RecordOutcall> {

    IPage<RecordOutcallRes> getRecordOutcallPage(Page<RecordOutcallRes> page, RecordOutcallQuery query);

    List<RecordOutcallRes> getRecordOutcallByDayPlanNumber(Integer dayPlanNumber);

    int selectNumByDayPlanNumber(Integer dayPlanNumber);

    List<RecordOutcallRes> getRecordOutcallList(RecordOutcallQuery query);
}
